package Demo;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Demo07 {
    public static void main(String[] args) throws IOException {
        InputStream is = new FileInputStream("./文本.txt");
        while (true) {
            int b = is.read();
            if (b == -1) {
                break;
            }
            //System.out.printf("0x%x\n", b);
            System.out.printf("%c\n",b);
        }
        is.close();

    }
}
